package com.ivy.utils;

import javax.sql.DataSource;

import org.apache.commons.dbutils.QueryRunner;

import com.mchange.v2.c3p0.ComboPooledDataSource;

public class JdbcUtils {
	private static DataSource dataSource;
	static {
		dataSource = new ComboPooledDataSource();
	}
	public static QueryRunner getQueryRunner() {
		QueryRunner qr = new QueryRunner(dataSource);
		return qr;
		
	}
}
